package com.example.hxpc.guidancemanagement.activity;

import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.hxpc.guidancemanagement.R;

/**
 * Created by tao on 2017/12/5.
 */

public class ChangeNameActivity extends Activity implements View.OnClickListener{
    private ImageView img_add , img_back;
    private TextView te_title , te_sure;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_change_name);
        initView();
    }
    //初始化控件
    public void initView(){
        img_add = (ImageView) findViewById(R.id.add_mark);
        img_add.setVisibility(View.GONE);
        img_back = (ImageView) findViewById(R.id.back);
        img_back.setOnClickListener(this);
        te_title = (TextView) findViewById(R.id.te_title);
        te_title.setText("修改昵称");
        te_sure = (TextView) findViewById(R.id.sure);
        te_sure.setVisibility(View.VISIBLE);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.sure:
                break;
            case R.id.back:
                finish();
                break;
        }
    }
}
